package com.kingland.neusoft.course.mapper;

import com.kingland.neusoft.course.mapper.dao.BookModel;
import org.apache.ibatis.annotations.Mapper;

import javax.management.MXBean;
import java.util.List;

@Mapper
public interface BookMapper {
    void addBook(BookModel bookModel);
    int deleteBookByBookId(Long bookId);
    BookModel selectBookByBookName(String bookName);
    List<BookModel> selectAllBook();
    Integer count();
}
